var fs = require('fs');

var cwd = process.cwd() + '/common';
var files = fs.readdirSync(cwd)

for( var i in files ) {
    if ( 'index.js' != files[i] ) {
        var mod = files[i].substring(0, files[i].length - 3);
        console.log(mod);
        module.exports[mod] = require('./' + files[i]);
    }
}
